/*
* Copyright 2017 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-app-api
*
* @File name : RoadSosServiceInterface.java
*
* @Author : Administrator
*
* @Date : 2017年11月29日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2017年11月29日    Administrator    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package com.yonyou.marketing.app.api.service;

import java.util.Map;

import org.marketing.common.Response;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.yonyou.marketing.app.api.model.TtSoshelp;

/**
*
* @author Administrator
* @date 2017年11月29日
*/
@FeignClient(name="SERVICE-ROADSOS")
public interface RoadSosServiceInterface {
    
    @RequestMapping(value = "/roadSOS/api/v1/roadsideAssistance", method = RequestMethod.POST)
    public Response<Map<String, Object>> roadsideAssistance(@RequestBody TtSoshelp ttSoshelp,@RequestParam("userId_") String userId_);
    
    @RequestMapping(value = "/roadSOS/api/v1/nearDealer", method = RequestMethod.POST)
    public Response<Map<String, Object>> getDealer(@RequestBody TtSoshelp ttSoshelp,@RequestParam("userId_") String userId_);
}
